package com.mida.app.report.vo;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;


/**
 * PageVo
 */
@Data
public class PageVo implements Serializable {

    //每页显示多少条:默认10条
    @ApiModelProperty(value = "每页显示多少条", required = false)
    private Long everyPage = 10L;
    //总页数
    private Long totalPage;
    //当前第多少页:默认第1页
    @ApiModelProperty(value = "当前页", required = false)
    private Long currentPage;

    //总共多少条
    @ApiModelProperty(value = "总数", required = false)
    private Long totalCount;

    @ApiModelProperty(value = "报告类型", required = false)
//    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long reportType;
}
